package com.bocai.yuweiwangluo.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by admin on 2015/12/16.
 */
public class CityAndTypeBean implements Serializable{
    /**
     * "total":3,
     "page":1,
     "each":6,
     "type":
     [
     {"id":"1","title":"\u8db3\u7403"},
     {"id":"2","title":"\u7bee\u7403"},
     {"id":"3","title":"\u7fbd\u6bdb\u7403"},
     {"id":"4","title":"\u7f51\u7403"}
     ],
     "city":
     [
     {"id":"1703","name":"\u4e0a\u57ce\u533a"},
     {"id":"1704","name":"\u6c5f\u5e72\u533a"},
     {"id":"1705","name":"\u897f\u6e56\u533a"},
     {"id":"1706","name":"\u8427\u5c71\u533a"},
     {"id":"1707","name":"\u6850\u5e90\u53bf"},
     {"id":"1708","name":"\u5efa\u5fb7\u5e02"},
     {"id":"1709","name":"\u4e34\u5b89\u5e02"},
     {"id":"1710","name":"\u4e0b\u57ce\u533a"},
     {"id":"1711","name":"\u62f1\u5885\u533a"},
     {"id":"1712","name":"\u6ee8\u6c5f\u533a"},
     {"id":"1713","name":"\u4f59\u676d\u533a"},
     {"id":"1714","name":"\u6df3\u5b89\u53bf"},
     {"id":"1715","name":"\u5bcc\u9633\u5e02"}
     ],
     "data":
     [
     {"id":"1","city_id":"1705","type_id":"3","pic":"\/upload\/pic\/1451109707_4021.jpg",
     "title":"\u535a\u91c7\u676f\u7fbd\u6bdb\u7403\u5927\u8d5b\u6b63\u5f0f\u5f00\u8d5b",
     "addr":"\u9ec4\u9f99\u4f53\u80b2\u573a1\u53f7\u573a\u9986","game_time":"1452232260",
     "timeline":"1451109700","recshow":"1","state":"1","price":"0.00"},
     {"id":"4","city_id":"1703","type_id":"1","pic":"\/upload\/pic\/1451113738_7360.jpg","title":"\u9632\u76d7\u9632\u590d\u53d1","addr":"\u53cd\u53cd\u590d\u590d","game_time":"1454169600","timeline":"1451113958","recshow":"1","state":"1","price":"345.00"},
     {"id":"2","city_id":"1705","type_id":"2","pic":"\/upload\/pic\/1451109774_9359.jpg","title":"\u4e54\u4e39\u676f\u897f\u90e8\u57ce\u5e02\u8054\u76df\u8d5b","addr":"sss","game_time":"1454407200","timeline":"1451113487","recshow":"1","state":"1","price":"38.00"}
     ]

     */
    private ArrayList<Type> type;
    private ArrayList<City> city;


    public ArrayList<Type> getType() {
        return type;
    }

    public void setType(ArrayList<Type> type) {
        this.type = type;
    }

    public ArrayList<City> getCity() {
        return city;
    }

    public void setCity(ArrayList<City> city) {
        this.city = city;
    }


    public static class Type implements Serializable{
        private String id;
        private String title;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
    public static class City implements Serializable{
        private String id;
        private String name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
